package com.ts.main.admin.mapper;

import com.ts.main.admin.dto.ProductVariantSearchPageDto;
import com.ts.main.admin.entity.ProductVariantEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.admin.vo.ProductVariantVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @description 针对表【t_product_variant】的数据库操作Mapper
* @createDate 2025-06-09 00:56:13
* @Entity generator.domain.TProductVariant
*/
public interface ProductVariantMapper extends BaseMapper<ProductVariantEntity> {

    List<ProductVariantVo> getProductVariantPage(@Param("dto") ProductVariantSearchPageDto dto);

    ProductVariantVo getProductVariantDetails(@Param("variantId") Integer variantId);
}




